Aiming at the complex communication environment and low efficiency of big data processing in agricultural Internet Of Things (IOT), a big data processing mechanism was proposed based on the adaptive collaborative opportunities. According to the requirements of agricultural application and the impact of agricultural environment on wireless data transmission, a cross-layer interaction analysis model was established, which was combined with opportunities for collaborative mechanisms and big data processing requirements. Then the design of a large data processing was proposed. Experimental analysis and testing show that the proposed big data processing scheme has better system throughput, reliability, and system processing performance than traditional coordination mechanism and data processing programs.
As the conventional physical cluster system fails to cope flexibly with large-scale Internet applications, a comprehensive load balancing mechanism for cloud-based virtual cluster system was proposed. It first periodically collected CPU and memory usage, number of connections, and response time of all virtual machines and physical hosts, then calculated the weighted load of the physical hosts, and finally scheduled and assigned the task requests based on the calculated comprehensive load, thus could adapt to the complex, dynamic and variable computing environment. The experimental results show that, compared with other scheduling mechanisms such as Weighted Round Robin (WRR) and Weighted Least Connections (WLC), the proposed mechanism is delay optimal under heavy workload, and moreover, it can increase or decrease the number of Virtual Machines (VMs) dynamically to balance the server load usually within 5 seconds.